Component({
  data: {
    inputValue: ''
  },
  properties: {
    props: {
      type: String
    }
  },
  methods: {
    onInput(event) {
      // console.log('输入：', event)
      this.setData({
        inputValue: event.detail.value
      })
    },
    onSearch() {
      console.log('搜索：', this.data.inputValue)
    }
  }
})
